
-- 模态面板

local ModalDialog = class("ModalDialog",function()
	return ccui.Layout:create()
end)

function ModalDialog:ctor()
    self:setContentSize(display.size)
    self:setTouchEnabled(true)
    self:setSwallowTouches(true)

    self:setBackGroundColor(display.COLOR_BLACK)
    self:setBackGroundColorOpacity(179)
    self:setBackGroundColorType(1)
end


return ModalDialog
